<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans   http://www.springframework.org/schema/beans/spring-beans.xsd">

  <bean id="processEngineConfiguration" class="org.camunda.bpm.engine.impl.cfg.StandaloneProcessEngineConfiguration">

    <property name="jdbcUrl" value="${database.url}"/>
    <property name="jdbcDriver" value="${database.driver}"/>
    <property name="jdbcUsername" value="${database.username}"/>
    <property name="jdbcPassword" value="${database.password}"/>

    <!-- Empty beans map to for testing purpose -->
    <property name="beans">
      <map/>
    </property>

    <!-- Database configurations -->
    <property name="databaseSchemaUpdate" value="keep-your-hands-off-my-database"/>

    <!-- job executor configurations -->
    <property name="jobExecutorActivate" value="false"/>

    <property name="bpmnStacktraceVerbose" value="false" />

    <!-- turn off metrics reporter -->
    <property name="dbMetricsReporterActivate" value="false" />
    <property name="telemetryReporterActivate" value="false" />
    <property name="taskMetricsEnabled" value="false" />

    <!-- mail server configurations -->
    <property name="mailServerPort" value="${mail.server.port}" />
    <property name="history" value="full" />
    <property name="historyCleanupBatchWindowStartTime" value="16:00" />

    <property name="jdbcBatchProcessing" value="false"/>

    <!-- telemetry configuration -->
    <property name="telemetryEndpoint" value="http://localhost:8081/pings"/>

  </bean>

</beans>
